﻿<Window x:Class="WpfPdfReader.WindowPrompt"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="WindowPrompt" Height="377" Width="600" Background="{StaticResource winBackground}" WindowStyle="None" WindowStartupLocation="CenterScreen" ResizeMode="NoResize">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <Border Grid.Row="0" BorderBrush="LightGray" BorderThickness="0,0,0,1"/>
        <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="5">   
            <TextBlock VerticalAlignment="Center" Name="label" Foreground="White" FontFamily="Arial" FontSize="16" Text="您上次浏览到如下内容,是否继续?"></TextBlock>
            <Label Style="{StaticResource ButtonLabelStyle}" Name="btnYes" Content="Yes" MouseUp="btnYes_MouseUp"/>
            <Label Style="{StaticResource ButtonLabelStyle}" Name="btnNo" Content="No" MouseUp="btnNo_MouseUp"/>
            <Label Style="{StaticResource ButtonLabelStyle}" Name="btnDetail" Content="More" MouseUp="btnDetail_MouseUp"/>

        </StackPanel>

        <Image Margin="3" Grid.Row="1"  Source="{Binding LastPageBmpPath}" RenderOptions.BitmapScalingMode="NearestNeighbor" Stretch="Uniform">
            <!--<Image.ToolTip>
                <ToolTip FontSize="14" FontFamily="Arial" Background="Green" Foreground="White">
                    <StackPanel>
                        <TextBlock Text="{Binding FullName}"/>
                        <Image Source="{Binding LastPageBmpPath}" RenderOptions.BitmapScalingMode="NearestNeighbor" Stretch="Uniform"/>
                    </StackPanel>
                </ToolTip>
            </Image.ToolTip>-->
        </Image>
    </Grid>
</Window>
